Given
that I am at the homepage
<<<<<<< Updated upstream
3s 928ms
=======
8s 896ms
>>>>>>> Stashed changes
And
I click on the user icon
<<<<<<< Updated upstream
6ms
=======
9ms
>>>>>>> Stashed changes
And
I enter "user" in the email field
<<<<<<< Updated upstream
721ms
=======
758ms
>>>>>>> Stashed changes
And
I enter "user" in the password field
<<<<<<< Updated upstream
505ms
=======
510ms
>>>>>>> Stashed changes
And
I click the login button
<<<<<<< Updated upstream
2s 55ms
=======
2s 37ms
>>>>>>> Stashed changes
And
I should be logged in
<<<<<<< Updated upstream
4ms
=======
6ms
>>>>>>> Stashed changes
When
I select Malmö from the välj stad dropdown menu
<<<<<<< Updated upstream
6s 26ms
=======
6s 11ms
>>>>>>> Stashed changes
And
I click the sök button
<<<<<<< Updated upstream
1s 10ms
=======
1s 6ms
>>>>>>> Stashed changes
And
I should get a list of available hotels in Malmö
<<<<<<< Updated upstream
2s 8ms
=======
2s 7ms
And
I click on the boka rum på detta hotell button
8s 5ms
>>>>>>> Stashed changes
And
I should get the list of available rooms
<<<<<<< Updated upstream
2s 407ms
=======
5ms
>>>>>>> Stashed changes
<<<<<<< Updated upstream
=======
Show Error +
AssertionError: expected to find a list of available rooms
at createWorld.(anonymous) (C:\dev\hoolitels\frontend\tests\selenium\step-definitions\booking.js:18:5)
at processTicksAndRejections (internal/process/task_queues.js:94:5)
AssertionError: expected to find a list of available rooms
at createWorld.(anonymous) (C:\dev\hoolitels\frontend\tests\selenium\step-definitions\booking.js:18:5)
at processTicksAndRejections (internal/process/task_queues.js:94:5)
>>>>>>> Stashed changes
And
<<<<<<< Updated upstream
I should get the list of available rooms
2s 5ms
And
=======
>>>>>>> Stashed changes
I choose number of rooms from dropdown menu
2s 21ms
Show Error +
TypeError: Cannot read property 'click' of null
at createWorld.(anonymous) (C:\Users\srcha\Google Drive\Skola\dev\hoolitels\frontend\tests\selenium\step-definitions\booking.js:30:15)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
TypeError: Cannot read property 'click' of null
at createWorld.(anonymous) (C:\Users\srcha\Google Drive\Skola\dev\hoolitels\frontend\tests\selenium\step-definitions\booking.js:30:15)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
And
I click on the boka rum button
0s
And
I should see the order page
0s
And
I choose number of adults
0s
And
I click on the fortsätt till betalning button
0s
And
I should see the payment page
0s
And
I click on the godkänn och betala din bokning button
0s
And
I click on the klicka här för att gå till din profil button
0s
And
I should see my profile page
0s
And
I click on my bokningar
0s
Then
I can find my booking in the list
0s